package com.xcity.db.mapper;

import java.util.List;

import com.xcity.db.entity.GuildMember;

import naga.x.db.IMapper;

public interface GuildMemberMapper extends IMapper<GuildMember> {
	String STATEMENT_FIND_BY_GUILD = GuildMemberMapper.class.getName() + ".findByGuild";
//	String STATEMENT_DELETE_MEMBERS_BY_GUILD = GuildMemberMapper.class.getName() + ".deleteByGuild";
	String STATEMENT_COUNT_MEMBER_BY_GUILD = GuildMemberMapper.class.getName() + ".getMemberCountByGuildId";
	
	
	int getMemberCountByGuildId(int guildId);
	List<GuildMember> findByGuild(int guildId);
//	int deleteByGuild(int guildId);
}
